Vendidero\Shiptastic\Order D

Total Complexity 484
Dependencies 23
Dependents 7
Total lines 2,428
Lines of code 1,644
Logical lines of code 900
Comment lines 352
Methods 89
Properties 5

Methods 89

Method Rating Maintainability Complexity Lines of code
create_returns_as_draft()
D
28
30 141
sync_returns_with_refunds()
C
34 29 103
get_order_item_packages()
C
36 25 77
create_shipments()
B
33 20 105
get_current_shipping_status()
B
46 17 38
get_item_quantity_left_for_returning()
A
42 15 54
get_current_return_status()
A
46 16 38
get_package_data()
A
41 14 55
get_item_quantity_left_for_shipping()
A
46 14 39
validate_shipment_item_quantities()
A
45 13 40
get_pickup_delivery_args()
A
45 12 42
get_returnable_items()
A
49 12 29
get_return_costs()
A
48 11 30
get_packages()
A
49 11 28
get_available_items_for_shipment()
A
47 10 35
get_shipments()
A
47 9 36
get_return_packages()
A
49 8 32
get_available_items_for_return()
A
48 8 32
get_return_costs_tax_rates()
A
50 8 29
get_shipping_method_by_id()
A
54 8 22
update_shipping_status()
A
54 8 21
get_item_quantity_sent_by_order_item_id()
A
54 8 21
has_local_pickup()
S
55 6 19
get_shipping_method()
S
56 6 18
update_return_status()
S
57 6 16
get_shipping_method_item_quantity()
S
58 6 15
needs_shipping()
S
55 5 20
calculate_shipment_additional_total()
S
56 5 18
save()
S
56 5 18
get_shippable_item_quantity()
S
58 5 15
get_shipment_position_number()
S
58 5 14
supports_pickup_location()
S
59 5 14
order_item_is_non_returnable()
S
61 5 12
validate_shipments()
S
56 4 20
get_refunds_map()
S
55 4 19
get_datetime_from_timestamp()
S
57 4 18
has_multiple_packages()
S
60 4 13
get_non_returnable_items()
S
59 4 13
has_auto_packing()
S
62 4 12
get_default_return_shipping_provider()
S
62 4 11
get_builtin_shipping_method()
S
64 4 11
needs_return()
S
57 3 18
get_last_shipment_without_tracking()
S
63 4 10
get_last_shipment_with_tracking()
S
63 4 10
create_returns()
S
60 3 14
remove_shipment()
S
62 3 11
is_shipped()
S
72 3 4
get_shipping_status()
S
68 3 7
get_return_status()
S
68 3 7
supports_third_party_email_transmission()
S
67 3 7
has_shipped_shipments()
S
66 3 9
get_order_item_product()
S
67 3 7
get_shipment()
S
65 3 9
get_simple_shipment_item()
S
67 3 8
item_needs_return()
S
60 2 14
item_needs_shipping()
S
61 2 13
get_last_tracking_id()
S
68 2 7
set_shipping_status()
S
72 2 5
get_shipping_method_items()
S
67 2 7
get_shippable_items()
S
64 2 9
get_shippable_item_count()
S
68 2 7
get_returnable_item_count()
S
67 2 7
get_shipping_method_id()
S
68 2 7
get_pickup_location_customer_number()
S
68 2 7
__call()
S
70 2 6
__construct()
S
81 1 3
get_order()
S
82 1 3
get_id()
S
81 1 3
get_date_shipped()
S
79 1 3
get_date_delivered()
S
79 1 3
get_min_age()
S
75 1 4
get_available_items_for_packing()
S
77 1 3
get_available_return_items_for_packing()
S
77 1 3
return_costs_include_taxes()
S
78 1 3
get_shipment_count()
S
79 1 3
get_simple_shipments()
S
68 1 8
get_return_shipments()
S
68 1 8
add_shipment()
S
73 1 5
get_items_to_pack_left_for_shipping()
S
75 1 4
get_selectable_items_for_shipment()
S
78 1 3
shipping_method_is_separate_package()
S
74 1 4
get_selectable_items_for_return()
S
78 1 3
get_order_return_request_key()
S
80 1 3
delete_order_return_request_key()
S
77 1 4
get_shipping_provider()
S
79 1 3
has_pickup_location()
S
74 1 4
get_pickup_location_code()
S
74 1 4
get_pickup_location_address()
S
73 1 4
create_shipments_for_local_pickup()
S
79 1 3